decorative banner

fileGetDialog() Global Function


    fileGetDialog(prompt,typeList)

Description

    The fileGetDialog global function presents the File > Open dialog that is standard for the platform on which After Effects is running.

    The typeList is a semicolon-separated list of four-character Mac OS file types followed by Windows file extensions. For example, a value of "EggP aep" for this argument specifies that the file open dialog is to display After Effects project items only; other file types will be grayed out.

Parameters

    prompt

    message which displays on the title bar of the dialog; truncated if too long

    typeList

    a platform-specific value indicating a list of file types to display.

Returns

    File object, or null if the user cancels the dialog.